The main idea of general relativity is that space and time are two different parts of spacetime. In general relativity, gravity doesn't work the same way that Sir Isaac Newton said was how gravity worked. According to Einstein, gravity changes not only space, but also time. (Time dilation)